package org.jeecg.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.entity.RunnerMatchPlayer;

import java.util.List;

/**
 * @Description: 赛事人员
 * @Author: jeecg-boot
 * @Date:   2022-12-04
 * @Version: V1.0
 */
public interface IRunnerMatchPlayerService extends IService<RunnerMatchPlayer> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<RunnerMatchPlayer>
	 */
	public List<RunnerMatchPlayer> selectByMainId(String mainId);

    List<RunnerMatchPlayer> selectByMainIdNotEndTime(String mainId);

	RunnerMatchPlayer selectByRingCode(String matchId,String ringCode);

	public List<RunnerMatchPlayer> selectByMainIdAndGroupId(String mainId,List<String> groupids);
}
